<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>vue03</title>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<a href="https://www.baidu.com">百度</a><br /><br />
			<a v-bind:href="url">qq</a>
		</div>
		
		<script type="text/javascript">
			new Vue({
				el:"#app",
				data:{
					url:'http://www.qq.com'
				}
			})
		</script>
	</body>
</html>
